// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.PatentTrendsDao;
import com.liuxinlong.modules.entity.PatentTrends;
import com.liuxinlong.modules.mapper.PatentTrendsMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * 类描述
 * <p>
 * 此类关联设计的功能
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2023年9月15日
 */
@Service
public class PatentTrendsDaoImpl extends ServiceImpl<PatentTrendsMapper, PatentTrends> implements PatentTrendsDao {

	@Override
	public PatentTrends queryPatentTrends(Map<String, Object> queryParam) {
		return baseMapper.queryPatentTrends(queryParam);
	}

	@Override
	public int countClassTrends(String productClass) {
		return baseMapper.countClassTrends(productClass);
	}

	@Override
	public Map<String,Map<String,String>>  queryExistPatentTrends(String trendsMonth) {
		return baseMapper.queryExistPatentTrends(trendsMonth);
	}
}
